package ventanas;

import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JTextField;
import javax.swing.JCheckBox;
import org.eclipse.wb.swing.FocusTraversalOnArray;
import java.awt.Component;
import javax.swing.border.LineBorder;
import java.awt.Color;

public class Barra extends JPanel {
	private JTextField txtInsertText;

	/**
	 * Create the panel.
	 */
	public Barra() {
		setBorder(new LineBorder(new Color(0, 0, 0)));
		setLayout(null);
		
		JButton btnYourtube = new JButton("YourTube");
		btnYourtube.setBounds(10, 26, 89, 23);
		add(btnYourtube);
		
		JButton btnNewButton_4 = new JButton("<");
		btnNewButton_4.setBounds(138, 26, 41, 23);
		add(btnNewButton_4);
		
		JButton btnNewButton_3 = new JButton(">");
		btnNewButton_3.setBounds(218, 26, 41, 23);
		add(btnNewButton_3);
		
		txtInsertText = new JTextField();
		txtInsertText.setBounds(269, 27, 86, 20);
		add(txtInsertText);
		txtInsertText.setText("Insert Text");
		txtInsertText.setColumns(10);
		
		JCheckBox chckbxNewCheckBox = new JCheckBox("Tema");
		chckbxNewCheckBox.setBounds(356, 26, 86, 23);
		add(chckbxNewCheckBox);
		
		JButton btnNewButton_2 = new JButton("Buscar");
		btnNewButton_2.setBounds(448, 26, 89, 23);
		add(btnNewButton_2);
		
		JButton btnNewButton_1 = new JButton("Registrar");
		btnNewButton_1.setBounds(547, 26, 89, 23);
		add(btnNewButton_1);
		
		JButton btnNewButton = new JButton("Iniciar Sesion");
		btnNewButton.setBounds(646, 26, 111, 23);
		add(btnNewButton);
		setFocusTraversalPolicy(new FocusTraversalOnArray(new Component[]{btnYourtube, btnNewButton_4, btnNewButton_3, txtInsertText, chckbxNewCheckBox, btnNewButton_2, btnNewButton_1, btnNewButton}));

	}
}
